package com.example.demo.dynamicproxy.v2;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

/**
 * @author ZhenZhong
 * @date 2020/3/4
 */
public interface DemoInvocationHandler {
    /**
     * @param proxy
     * @param method
     * @param args
     *
     * @return
     *
     * @throws Throwable
     */
    Object invoke(Object proxy, Method method, Object[] args) throws Throwable;
}
